<template>
  <div>
    <div>
      <h4>关节活动度评定（下肢）</h4>
      <el-row>
        <el-select v-model="pgForm.joint_range_motion_1_lower_lr" placeholder="左右" style="width: 110px;">
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value">
          </el-option>
        </el-select>
        下肢
      </el-row>
      <el-row>
        <el-col :span="2" :offset="2">
          <span style="line-height: 36px;">肩</span>
        </el-col>
        <el-col :span="5">
          前屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            maxlength="3"
            v-model="pgForm.joint_range_motion_1_lower_jian_qq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          后伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_jian_hs">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          内收
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_jian_ns">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          外展
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_jian_wz">
          </el-input>
          度
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="5" :offset="4">
          内旋
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_jian_nx">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          外旋
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_jian_wx">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          旋前
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_jian_xq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          旋后
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_jian_xh">
          </el-input>
          度
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="5" :offset="4">
          背屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_jian_bq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          背伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_jian_bs">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_jian_q">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_jian_s">
          </el-input>
          度
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="2" :offset="2">
          <span style="line-height: 36px;">肘</span>
        </el-col>
        <el-col :span="5">
          前屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            maxlength="3"
            v-model="pgForm.joint_range_motion_1_lower_zhou_qq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          后伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhou_hs">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          内收
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhou_ns">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          外展
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhou_wz">
          </el-input>
          度
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="5" :offset="4">
          内旋
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhou_nx">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          外旋
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhou_wx">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          旋前
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhou_xq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          旋后
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhou_xh">
          </el-input>
          度
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="5" :offset="4">
          背屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhou_bq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          背伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhou_bs">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhou_q">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhou_s">
          </el-input>
          度
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="2" :offset="2">
          <span style="line-height: 36px;">腕</span>
        </el-col>
        <el-col :span="5">
          前屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            maxlength="3"
            v-model="pgForm.joint_range_motion_1_lower_wan_qq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          后伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_wan_hs">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          内收
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_wan_ns">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          外展
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_wan_wz">
          </el-input>
          度
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="5" :offset="4">
          内旋
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_wan_nx">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          外旋
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_wan_wx">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          旋前
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_wan_xq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          旋后
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_wan_xh">
          </el-input>
          度
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="5" :offset="4">
          背屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_wan_bq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          背伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_wan_bs">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_wan_q">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_wan_s">
          </el-input>
          度
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="2" :offset="2">
          <span style="line-height: 36px;">指</span>
        </el-col>
        <el-col :span="5">
          前屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            maxlength="3"
            v-model="pgForm.joint_range_motion_1_lower_zhi_qq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          后伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhi_hs">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          内收
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhi_ns">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          外展
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhi_wz">
          </el-input>
          度
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="5" :offset="4">
          内旋
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhi_nx">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          外旋
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhi_wx">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          旋前
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhi_xq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          旋后
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhi_xh">
          </el-input>
          度
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="5" :offset="4">
          背屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhi_bq">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          背伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhi_bs">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          屈
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhi_q">
          </el-input>
          度
        </el-col>
        <el-col :span="5">
          伸
          <el-input
            class="input"
            style="width: 88px"
            type="text"
            v-model="pgForm.joint_range_motion_1_lower_zhi_s">
          </el-input>
          度
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "joint_range_motion_1_lower",
  title: "关节活动度评定（下肢）",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      options: [
        {
          value: 'l',
          label: '左'
        },
        {
          value: 'r',
          label: '右'
        },

      ],
      pgForm: {
        joint_range_motion_1_lower_lr: '',
        joint_range_motion_1_lower_jian_qq: '', //肩-前屈
        joint_range_motion_1_lower_jian_hs: '', //肩-后伸
        joint_range_motion_1_lower_jian_ns: '', //肩-内收
        joint_range_motion_1_lower_jian_wz: '', //肩-外展
        joint_range_motion_1_lower_jian_nx: '', //肩-内旋
        joint_range_motion_1_lower_jian_wx: '', //肩-外旋
        joint_range_motion_1_lower_jian_xq: '', //肩-旋前
        joint_range_motion_1_lower_jian_xh: '', //肩-旋后
        joint_range_motion_1_lower_jian_bq: '', //肩-背屈
        joint_range_motion_1_lower_jian_bs: '', //肩-背伸
        joint_range_motion_1_lower_jian_q: '', //肩-屈
        joint_range_motion_1_lower_jian_s: '', //肩-伸
        joint_range_motion_1_lower_zhou_qq: '', //肘-前屈
        joint_range_motion_1_lower_zhou_hs: '', //肘-后伸
        joint_range_motion_1_lower_zhou_ns: '', //肘-内收
        joint_range_motion_1_lower_zhou_wz: '', //肘-外展
        joint_range_motion_1_lower_zhou_nx: '', //肘-内旋
        joint_range_motion_1_lower_zhou_wx: '', //肘-外旋
        joint_range_motion_1_lower_zhou_xq: '', //肘-旋前
        joint_range_motion_1_lower_zhou_xh: '', //肘-旋后
        joint_range_motion_1_lower_zhou_bq: '', //肘-背屈
        joint_range_motion_1_lower_zhou_bs: '', //肘-背伸
        joint_range_motion_1_lower_zhou_q: '', //肘-屈
        joint_range_motion_1_lower_zhou_s: '', //肘-伸
        joint_range_motion_1_lower_wan_qq: '', //腕-前屈
        joint_range_motion_1_lower_wan_hs: '', //腕-后伸
        joint_range_motion_1_lower_wan_ns: '', //腕-内收
        joint_range_motion_1_lower_wan_wz: '', //腕-外展
        joint_range_motion_1_lower_wan_nx: '', //腕-内旋
        joint_range_motion_1_lower_wan_wx: '', //腕-外旋
        joint_range_motion_1_lower_wan_xq: '', //腕-旋前
        joint_range_motion_1_lower_wan_xh: '', //腕-旋后
        joint_range_motion_1_lower_wan_bq: '', //腕-背屈
        joint_range_motion_1_lower_wan_bs: '', //腕-背伸
        joint_range_motion_1_lower_wan_q: '', //腕-屈
        joint_range_motion_1_lower_wan_s: '', //腕-伸
        joint_range_motion_1_lower_zhi_qq: '', //指-前屈
        joint_range_motion_1_lower_zhi_hs: '', //指-后伸
        joint_range_motion_1_lower_zhi_ns: '', //指-内收
        joint_range_motion_1_lower_zhi_wz: '', //指-外展
        joint_range_motion_1_lower_zhi_nx: '', //指-内旋
        joint_range_motion_1_lower_zhi_wx: '', //指-外旋
        joint_range_motion_1_lower_zhi_xq: '', //指-旋前
        joint_range_motion_1_lower_zhi_xh: '', //指-旋后
        joint_range_motion_1_lower_zhi_bq: '', //指-背屈
        joint_range_motion_1_lower_zhi_bs: '', //指-背伸
        joint_range_motion_1_lower_zhi_q: '', //指-屈
        joint_range_motion_1_lower_zhi_s: '', //指-伸
      }
    }
  }
}
</script>

<style scoped>
.el-row{
  padding: 10px 20px;
  background-color: #f9f9f9;
}
</style>
